#ifndef POINT2D_H
#define POINT2D_H

class Point2D
{
public:
    Point2D(int x=0, int y=0): m_X(x), m_Y(y) {setPosition(x,y);}
    void setPosition(int x, int y);
    int getX() const {return m_X;}
    int getY() const {return m_Y;}
    static int getMaxCoord();
private:
    int m_X;
    int m_Y;
    static const int MAXCOORD=200;
};

#endif // POINT2D_H
